home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / windows / wlit21.zip / WINLITEA.BAT < prev    next >
DOS Batch File  |  1992-08-22  |  6KB  |  199 lines

  1. @echo off
  2. echo.
  3. echo.
  4. echo     WELCOME TO WINLITE 2.1!
  5. echo.
  6. echo     PRESS CTRL-C TO EXIT AT ANY TIME!
  7. echo.
  8. echo.
  9. echo.
  10. echo This batch file will create a full working version of Microsoft 
  11. echo Windows 3.1 on a single HIGH-DENSITY 3.5 " (1.44 MB) floppy disk!
  12. echo This file will write to drive a:. Use winliteb to write to drive b:.
  13. echo It will NOT affect your current Windows 3.1 setup in any way.
  14. echo.
  15. pause
  16.  
  17. if not exist pkzip.exe goto err6
  18. if not exist pkunzip.exe goto err6
  19.  
  20. if not exist %1\win.com goto err3 
  21.  
  22. if not exist %1\system\olesvr.dll goto err2
  23.  
  24. echo Insert a blank, formatted floppy in your 1.44 MB (3.5") a: drive NOW!
  25. echo If you don't have one, press CTRL-C and format it using FORMAT A:
  26. echo You must have approximately 3 MB free working space on your C: drive
  27. echo If you don't have enough, exit now and clear some space.
  28. echo (You can have it back in a few minutes!)
  29. echo.
  30. pause
  31. if not exist a:\nul goto err1
  32. echo Here's what's on the disk now. It should say "File not found".
  33. dir a: /w
  34. echo.
  35. pause
  36. echo Please wait while WinLite creates your C:\WINLITE directory.
  37. echo.
  38.  
  39. if not exist c:\winlite\nul mkdir c:\winlite
  40. if not exist c:\winlite\system\nul mkdir c:\winlite\system
  41.  
  42. echo Please wait while WinLite copies the required files to it!
  43. echo. 
  44.  
  45. copy .\M31.REC c:\winlite
  46. copy .\MY.CRD c:\winlite
  47. copy %1\CARDFILE.EXE c:\winlite
  48. copy %1\CLIPBRD.EXE c:\winlite
  49. copy %1\CLOCK.EXE c:\winlite
  50. copy .\CLOCK.INI c:\winlite
  51. copy .\CONTROL.INI c:\winlite
  52. copy .\DOSPRMPT.PIF c:\winlite
  53. copy .\TUNE_UP.WRI c:\winlite
  54. copy %1\SCRNSAVE.SCR c:\winlite
  55. copy .\PRESENT2.WRI c:\winlite
  56. copy %1\NOTEPAD.EXE c:\winlite
  57. copy %1\PBRUSH.DLL c:\winlite
  58. copy %1\PBRUSH.EXE c:\winlite
  59. copy %1\PROGMAN.EXE c:\winlite
  60. copy .\WIN.INI c:\winlite
  61. copy %1\RECORDER.DLL c:\winlite
  62. copy %1\RECORDER.EXE c:\winlite
  63. echo Copy 25 per cent complete
  64. copy %1\REG.DAT c:\winlite
  65. copy .\SDKBOXES.EXE c:\winlite
  66. copy .\SYSTEM.INI c:\winlite
  67. copy %1\TASKMAN.EXE c:\winlite
  68. copy .\ACCESS31.GRP c:\winlite
  69. copy %1\WIN.COM c:\winlite
  70. copy %1\WINFILE.EXE c:\winlite
  71. copy .\WINFILE.INI c:\winlite
  72. copy .\WINLITE.BMP c:\winlite
  73. copy %1\WINVER.EXE c:\winlite
  74. copy %1\WRITE.EXE c:\winlite
  75. copy .\_DEFAULT.PIF c:\winlite
  76. copy .\REGISTER.TXT c:\winlite
  77. copy .\README.TXT c:\winlite
  78. copy .\PROGMAN.SAV c:\winlite
  79. echo Copy 50 per cent complete
  80. copy .\CONTROL.SAV c:\winlite
  81. copy .\SYSTEM.SAV c:\winlite
  82. copy .\WIN.SAV c:\winlite
  83. copy .\MAIN31.GRP c:\winlite
  84. copy .\START31.GRP c:\winlite
  85. copy .\PROGMAN.INI c:\winlite
  86. copy .\MANUAL.TXT c:\winlite
  87. copy .\DELETEME.TXT c:\winlite
  88.  
  89. attrib +r c:\winlite\register.txt
  90. attrib +r c:\winlite\readme.txt
  91.  
  92. copy %1\system\COMM.DRV c:\winlite\system
  93. copy %1\system\COMMDLG.DLL c:\winlite\system
  94. copy %1\system\COURE.FON c:\winlite\system
  95. copy %1\system\DDEML.DLL c:\winlite\system
  96. copy %1\system\DOSX.EXE c:\winlite\system
  97. copy %1\system\DSWAP.EXE c:\winlite\system
  98. copy %1\system\GDI.EXE c:\winlite\system
  99. copy %1\system\KEYBOARD.DRV c:\winlite\system
  100. copy %1\system\KRNL286.EXE c:\winlite\system
  101. copy %1\system\MMSOUND.DRV c:\winlite\system
  102. copy %1\system\MOUSE.DRV c:\winlite\system
  103. copy %1\system\OLECLI.DLL c:\winlite\system
  104. copy %1\system\OLESVR.DLL c:\winlite\system
  105. copy %1\system\SERIFE.FON c:\winlite\system
  106. copy %1\system\SETUP.REG c:\winlite\system
  107. copy %1\system\SHELL.DLL c:\winlite\system
  108. copy %1\system\SSERIFE.FON c:\winlite\system
  109. copy %1\system\SYSTEM.DRV c:\winlite\system
  110. copy %1\system\TOOLHELP.DLL c:\winlite\system
  111. echo Copy 75 per cent complete
  112. copy %1\system\USER.EXE c:\winlite\system
  113. copy %1\system\VER.DLL c:\winlite\system
  114. copy %1\system\VGA.DRV c:\winlite\system
  115. copy %1\system\VGACOLOR.2GR c:\winlite\system
  116. copy %1\system\VGAFIX.FON c:\winlite\system
  117. copy %1\system\VGAOEM.FON c:\winlite\system
  118. copy %1\system\VGASYS.FON c:\winlite\system
  119. copy %1\system\WIN.CNF c:\winlite\system
  120. copy %1\system\WIN87EM.DLL c:\winlite\system
  121. copy %1\system\WINOLDAP.MOD c:\winlite\system
  122. copy %1\system\WSWAP.EXE c:\winlite\system
  123.  
  124. echo Copying batch files to floppy
  125. copy .\installa.bat a:\
  126. copy .\install.bat a:\
  127. copy .\updatea.bat a:\
  128. copy .\update.bat a:\
  129. copy .\pkzip.exe a:\
  130. copy .\pkunzip.exe a:\
  131.  
  132. echo.
  133. echo Compressing WinLite to floppy -- Please wait!
  134. echo The archive will be called mywin31.zip.
  135. echo.
  136.  
  137. .\pkzip -rp a:\mywin31.zip c:\winlite\*.*
  138. if errorlevel 1 goto err5
  139. echo.
  140. echo SUCCESS!
  141. echo.
  142.  
  143. c:
  144. cd c:\winlite
  145.  
  146.  
  147. echo.
  148. echo Run Winlite from the winlite directory on your C: drive by typing:
  149. echo C:
  150. echo CD WINLITE
  151. echo.
  152. echo Start WinLite up by typing: WIN/S
  153. echo.
  154. echo Note: WinLite runs in standard mode only.
  155. echo (You must have installed himem.sys in your config.sys file).
  156. echo.
  157. echo If you make changes to WinLite, you can save them by running
  158. echo the UPDATE batch file on the floppy. To reinstall WinLite after
  159. echo erasing it, use the INSTALL batch file on the floppy. You may
  160. echo need to modify it, depending on how your system is configured.
  161. echo TYPE this batch file to re-read these instructions. GOOD LUCK!
  162. goto end
  163.  
  164. :err1
  165. echo WinLite can't find your 3.5" drive!
  166. goto end
  167.  
  168. :err2
  169. echo You have specified a Windows 3.0 directory. This batch file
  170. echo only works with version 3.1. Sorry, please read the instructions
  171. goto end
  172.  
  173. :err3
  174. echo WinLite needs to know where your current copy of Windows 3.1 is stored
  175. echo Next time, type "winliteb c:\windows " (or wherever you have Windows 3.1)
  176. goto end
  177.  
  178. :err4
  179. echo Unable to compress WinLite. Free additional disk space and try again.
  180. goto end
  181.  
  182. :err5
  183. echo Unable to write mywin31.zip to floppy. 
  184. echo Reformat the floppy and make sure it's completely blank.
  185. goto end
  186.  
  187. :err6
  188. echo Can't find pkzip.exe and/or pkunzip.exe!
  189. echo Make sure you are running this batch file from the directory
  190. echo where you unzipped WLIT21.ZIP. Run PKZ102.EXE and then try
  191. echo this batch file again. Or, copy PKZIP.EXE and PKUNZIP.EXE
  192. echo to the directory containing WINLITE?.BAT and try again.
  193. goto end
  194.  
  195. :end
  196. echo.
  197. echo.
  198.  
  199.